import service from '@/utils/request'

// @Tags ProductStylesTest
// @Summary 创建款式资讯-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesTest true "创建款式资讯-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /productStylesTest/createProductStylesTest [post]
export const createProductStylesTest = (data) => {
  return service({
    url: '/productStylesTest/createProductStylesTest',
    method: 'post',
    data
  })
}

// @Tags ProductStylesTest
// @Summary 删除款式资讯-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesTest true "删除款式资讯-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /productStylesTest/deleteProductStylesTest [delete]
export const deleteProductStylesTest = (params) => {
  return service({
    url: '/productStylesTest/deleteProductStylesTest',
    method: 'delete',
    params
  })
}

// @Tags ProductStylesTest
// @Summary 批量删除款式资讯-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除款式资讯-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /productStylesTest/deleteProductStylesTest [delete]
export const deleteProductStylesTestByIds = (params) => {
  return service({
    url: '/productStylesTest/deleteProductStylesTestByIds',
    method: 'delete',
    params
  })
}

// @Tags ProductStylesTest
// @Summary 更新款式资讯-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesTest true "更新款式资讯-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /productStylesTest/updateProductStylesTest [put]
export const updateProductStylesTest = (data) => {
  return service({
    url: '/productStylesTest/updateProductStylesTest',
    method: 'put',
    data
  })
}

// @Tags ProductStylesTest
// @Summary 用id查询款式资讯-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.ProductStylesTest true "用id查询款式资讯-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /productStylesTest/findProductStylesTest [get]
export const findProductStylesTest = (params) => {
  return service({
    url: '/productStylesTest/findProductStylesTest',
    method: 'get',
    params
  })
}

// @Tags ProductStylesTest
// @Summary 分页获取款式资讯-测试标准列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取款式资讯-测试标准列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /productStylesTest/getProductStylesTestList [get]
export const getProductStylesTestList = (params) => {
  return service({
    url: '/productStylesTest/getProductStylesTestList',
    method: 'get',
    params
  })
}
